package com.demo.villageresidence.service;

import com.demo.villageresidence.dto.AdminDTO;
import com.demo.villageresidence.dto.Result;
import com.demo.villageresidence.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author CF
* @description 针对表【tb_admin】的数据库操作Service
* @createDate 2023-01-24 00:50:31
*/
public interface AdminService extends IService<Admin> {

    Map<String,Object> login(AdminDTO adminDTO);

    Result getAllAdmin();

}
